package edu.pku.sei.mte.transformation;

import java.util.LinkedList;

import edu.pku.sei.mte.runtime.Environment;
import edu.pku.sei.mte.runtime.rulebased.RBTContext;
import edu.pku.sei.mte.semantics.Semantics;
import edu.pku.sei.mte.utilities.AbstractVisitor;

public class ModelTransformationVisitor extends AbstractVisitor {

	private Environment env = null;
	private Semantics semantic = null;
	private LinkedList<RBTContext> contextStack = new LinkedList<RBTContext>();
	
	public ModelTransformationVisitor(Environment env){
		setEnv(env);
	}
	
	public LinkedList<RBTContext> getContextStack() {
		return contextStack;
	}
	
	public Environment getEnv() {
		return env;
	}

	private void setEnv(Environment env) {
		this.env = env;
	}

	public Semantics getSemantic() {
		return semantic;
	}

	public void setSemantic(Semantics semantic) {
		this.semantic = semantic;
	}
}
